My own little dark cozy corner of the small web.

Projects

I am a bit of a chaotic creative, in that I am constantly wanting to try new things. This often means learning new skills regularly. The jury is still out as to whether I am any good at any of it. Let’s find out!

The corollary to that is my tendency to stop mid-project to pursue the new hotness. So I have several plates in the air at once and most of them have long since stopped spinning. I hope you like a little bit of everything.


Ray Tracing in One Weekend #

Ray Tracing in One Weekend by Peter Shirley, Trevor D Black, and Steve Hollasch.

If you’re not familiar with Peter Shirley et al. and you are interested in graphics programming, I highly recommend you check out Ray Tracing in One Weekend. There are also additional online books that expand on this project further. Very cool.

I have been dipping into and out of this project for about a year now, to varying degrees of success. This is originally written for C++, but I am rewriting it for pure C99.


2D Sprite Rendering in OpenGL 4 #

An animated GIF of a debug view showing a sprite doing various animations.

I’ve wanted to make a very basic 2D sprite-based rendering engine for games using OpenGL 4 and written in C99. I am intentionally not using GLFW, SDL, or any other common helper libraries. I also intend to have as few external dependencies as possible. While existing game engines like Godot, Luxe and others have a lot of support and nice features, they don’t particularly interest me.

You can check out the code so far on my repo on Codeberg.